package top.greatxiaozou.service;


import top.greatxiaozou.dto.DtoUser;
import top.greatxiaozou.pojo.User;

public interface UserService {

    int registUser(DtoUser user);

    User selectUserByName(String username);

    int updateUser(User user,String oldName);
}
